#!/usr/bin/python3
# -*- coding: utf-8 -*-

import os
import re
from typing import Any, Dict

import allure
from playwright.sync_api import Page

from models.base_page import BasePage
from utils.log import log


class EIPDetailPage(BasePage):
    def __init__(self, page: Page):
        super().__init__(page)
        self.route = "/eips/"

    @allure.step("点击详情页-基本属性扩展按钮")
    def click_detail_page_expand_button(self) -> None:
        """
        点击详情页-基本属性扩展按钮
        :return:
        """
        self.locator(".dropdown-toggle").first.click()